<ui:composition
		xmlns="http://www.w3.org/1999/xhtml"
		xmlns:h="http://java.sun.com/jsf/html"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:a4j="http://richfaces.org/a4j"
		xmlns:rich="http://richfaces.org/rich"
		xmlns:ui="http://java.sun.com/jsf/facelets"
		xmlns:itdep="http://itdep.bsuir.by/jsf"
		>

	<h:panelGrid columns="3">

		<h:outputText value="#{personBundle.lastName}" styleClass="requiredField"/>
		<h:inputText value="#{person.lastName}" required="true" id="#{idPrefix}LastName" styleClass="sizeCopmonent"
					 maxlength="100"/>
		<itdep:errorMessage for="#{idPrefix}LastName"/>

		<h:outputText value="#{personBundle.firstName}" styleClass="requiredField"/>
		<h:inputText value="#{person.firstName}" required="true" id="#{idPrefix}FirstName" immediate="true"
					 styleClass="sizeCopmonent" maxlength="100"/>
		<itdep:errorMessage for="#{idPrefix}FirstName"/>

		<h:outputText value="#{personBundle.middleName}" styleClass="requiredField"/>
		<h:inputText value="#{person.middleName}" required="true" id="#{idPrefix}MiddleName" styleClass="sizeCopmonent"
					 maxlength="100"/>
		<itdep:errorMessage for="#{idPrefix}MiddleName"/>

		<h:outputText value="#{personBundle.birthDate}"/>
		<rich:calendar value="#{person.birthDate}" id="#{idPrefix}BirthDate" inputSize="14"/>

	</h:panelGrid>

</ui:composition>